package com.ruibang.glass.purchase.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruibang.glass.purchase.entity.PurchaseArrivalProduct;
import com.ruibang.glass.purchase.mapper.PurchaseArrivalProductMapper;
import com.ruibang.glass.purchase.service.PurchaseArrivalProductService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 采购到货关联物品 服务实现类
 * </p>
 *
 * @author mameng
 * @since 2024-03-27
 */
@Service
public class PurchaseArrivalProductServiceImpl extends ServiceImpl<PurchaseArrivalProductMapper, PurchaseArrivalProduct> implements PurchaseArrivalProductService {

    @Override
    public List<PurchaseArrivalProduct> getSelectPurchaseArrivalProductList( List<String> collect) {
        return baseMapper.getSelectPurchaseArrivalProductList(collect);
    }

    @Override
    public List<PurchaseArrivalProduct> getSelectPurchaseArrivalProductAndCodeList(List<String> collect, String code) {
        return baseMapper.getSelectPurchaseArrivalProductAndCodeList(collect,code);
    }

    @Override
    public List<PurchaseArrivalProduct> getBrocadeByNumberAndCode(List<String> collect, String code) {
        return baseMapper.getBrocadeByNumberAndCode(collect,code);
    }

    @Override
    public List<PurchaseArrivalProduct> getBatchNumberByNumberAndCode(String barcodeNumber, String code) {
        return baseMapper.getBatchNumberByNumberAndCode(barcodeNumber,code);
    }
}
